Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Utility Functions /


JMAddToClassPath

Adds a directory or a zip file to the class path.

OSStatus JMAddToClassPath (
JMSessionRef session,
const FSSpec* spec);
session
The current session.
spec
A pointer to a file system specification record.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
The JMAddToClassPath function adds an additional file to the Java class definition search path by prepending a Mac OS file system specification record (FSSpec) to the class path of the current session. You can add any number of files to the class path. The FSSpec value can indicate an uncompressed zip file or a directory. A directory is considered to be the root of a class hierarchy.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help